package cn.com.cym.gamezao.repository.demo;

import cn.com.cym.gamezao.base.BaseRepository;
import cn.com.cym.gamezao.entity.demo.Parent;
import org.springframework.data.redis.core.RedisHash;
import org.springframework.stereotype.Repository;

@RedisHash
@Repository
public interface ParentRepository extends BaseRepository<Parent,Long> {

    Parent getByCode(String code);
}
